package com.vegetable.modules.entity.baseData.po;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 通讯录查询参数DTO
 *
 * @author vegetable
 * @since 2025-09-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "通讯录查询参数", description = "通讯录查询参数")
public class AddressBookQueryDTO extends BaseQueryPO {

    @ApiModelProperty(value = "人员类型：0农户，1客商，2代办，3班组")
    private Integer staffType;

    @ApiModelProperty(value = "业务员姓名")
    private String salesman;

    @ApiModelProperty(value = "业务员ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long salesmanId;

    @ApiModelProperty(value = "客户名称")
    private String noteName;

    @ApiModelProperty(value = "删除标识0未删除，1删除")
    private Integer isDel;
}